package edu.nf.takeoutdemo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 *
 * @author zjl
 * @date 2025/10/24
 */
@SpringBootApplication
//开启注释方式的事务管理
@EnableTransactionManagement
//开启缓存注解功能
@EnableCaching
@MapperScan("edu.nf.takeoutdemo.mapper")
public class TakeoutDemoApplication {
    public static void main(String[] args) {
        SpringApplication.run(TakeoutDemoApplication.class, args);
    }
}
